package xj.toolkit.benchmark.handler;

import org.springframework.stereotype.Component;

import xj.toolkit.benchmark.bean.GetUrlReq;
import xj.toolkit.benchmark.bean.GetUrlResp;
import xj.toolkit.ebus.annotation.HandleEventsClazz;
import xj.toolkit.handler.AbstractCommReqHandler;

@HandleEventsClazz(eventClazz = { GetUrlReq.class })
@Component("getUrlReqHandler")
public class GetUrlReqHandler extends AbstractCommReqHandler<GetUrlReq, GetUrlResp> {

	@Override
	protected GetUrlResp newResponse(GetUrlReq request) {
		return new GetUrlResp();
	}

	@Override
	protected void doReq1(GetUrlReq request, GetUrlResp response) {

	}

	@Override
	protected void processException(Exception exception, GetUrlReq request, GetUrlResp response) {

	}

}
